package com.cn.hotel.dao;

import com.cn.hotel.model.RoomModel;

import java.util.List;

public interface IRoomDao {
    int add(RoomModel roomModel);

    List<RoomModel> findAll(RoomModel roomModel);

    int getCount(RoomModel roomModel);

    RoomModel findByRoomId(Integer roomID);

    int delete(Integer temp);

    int edit(RoomModel roomModel);
//前后端分割----------------------------------------------
    List<RoomModel> getRoomModel();

    /**
     * 网站首页调取
     * @return
     */
    List<RoomModel> getRoomModelList();

    List<RoomModel> getAppointRoomModel();

    List<RoomModel> getThree();
}
